#pragma once
/** \class Piece
	\brief One Piece on the board

	This class represents one piece on the board
	If the pieces in your game have some kind of special behavior,
	your have to implement your own class which inheritates Piece
*/
class Piece
{
public:
	/** 
	* Constructor, which initializes symbol for player, and X and Y coordinates
	*/
	Piece(char symbol, int x, int y);
	/**
	*	Destructor
	*/ 
	~Piece();

	/**
	* Returns the symbol for current piece
	*/
	char getSymbol();

	/**
	* Returns X position
	*/
	int getPosX();

	/**
	* Takes in integer as argument and sets posX to x
	*/
	void setPosX(int x);

	/***
	* Returns Y position
	*/
	int getPosY();

	/**
	* Takes in integer as argument and sets posY to y
	*/
	void setPosY(int y);
protected:
	char m_symbol; ///< Symbol for piece
	int m_xPos; ///< X Coordinate
	int m_yPos;///< Y Coordinate
};

